package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目关闭表
 * </p>
 *
 * @author yjl
 * @since 2022-10-19 09:00:50
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_project_close")
@ApiModel(value = "ProjectClose对象", description = "项目关闭表")
public class ProjectClose implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关闭项目主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "关闭项目")
    @TableField("project_id")
    private String projectId;

    @ApiModelProperty(value = "关闭事由")
    @TableField("cause")
    private String cause;

    @ApiModelProperty(value = "备注说明")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "状态（0-待审批，1-已通过，2-已撤销）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "起始时间")
    @TableField("start_date")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_date")
    private Date endDate;


}
